//
//  UIFont+EasyAndLayout.m
//  AFNetworking
//
//  Created by Huadong Zheng on 2023/4/11.
//

#import "UIFont+EasyAndLayout.h"
#import "ScreenLayout.h"
@implementation UIFont (EasyAndLayout)
+(UIFont *) fontLayout375XSize:(CGFloat) size{
    return [UIFont fontLayout375XSize:size weight:UIFontWeightLight];
}

//UIKIT_EXTERN const UIFontWeight UIFontWeightRegular API_AVAILABLE(ios(8.2));
//UIKIT_EXTERN const UIFontWeight UIFontWeightMedium API_AVAILABLE(ios(8.2));
//UIKIT_EXTERN const UIFontWeight UIFontWeightSemibold API_AVAILABLE(ios(8.2));
//UIKIT_EXTERN const UIFontWeight UIFontWeightBold API_AVAILABLE(ios(8.2));
//UIKIT_EXTERN const UIFontWeight UIFontWeightHeavy API_AVAILABLE(ios(8.2));
//UIKIT_EXTERN const UIFontWeight UIFontWeightBlack API_AVAILABLE(ios(8.2));

+(UIFont *) fontLayout375XSize:(CGFloat) size weight:(UIFontWeight) fontWeight{
    CGFloat fontSize = [ScreenLayout layoutScreenSizeWith375XSize:size];
    return [UIFont systemFontOfSize:fontSize weight:fontWeight];
}
@end
